import request from '@/utils/request'

// oneNET信息提交
export function saveOneNetInfo(params) {
    return request({
        url: '/back/onenetInfo/saveOneNetInfo',
        method: 'POST',
        params
    })
}

// 分页获取oneNet列表
export function getOneNetInfoPage(params) {
    return request({
        url: '/back/onenetInfo/getOneNetInfoPage',
        method: 'POST',
        params
    })
}

// 删除一条oneNet信息记录
export function DelOnenetInfo(params) {
    return request({
        url: '/back/oneNet/DelOnenetInfo',
        method: 'POST',
        params
    })
}

// 修改oneNet信息
export function updateOneNetInfo(params) {
    return request({
        url: '/back/onenetInfo/updateOneNetInfo',
        method: 'POST',
        params
    })
}